<?php


namespace App\Services;


use EasyWeChat\Factory;

class WxService
{
    private $app;

    public function __construct()
    {
        $this->app = Factory::officialAccount(config('wx'));
    }

    public function validate()
    {
        //dd($this->app);
        return $this->app->server->serve();
    }
}